#wppb-form-style-1-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 470px;
}

#wppb-login-wrap {
    width: 100%;
    max-width: 470px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    order: 2;
}

#wppb-login-wrap form#wppb-loginform {
    order: 1;
    width: 100%;
    margin-bottom: 0;
}

#wppb-login-wrap p.login-register-lost-password {
    order: 2;
    margin-bottom: 40px;
    color: #6E7A86;
    font-size: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#wppb-login-wrap .wppb-register-message {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    color: #6E7A86;
    text-align: center;
    margin: 0 5px 0 0;
    display: inline-block;
}

#wppb-login-wrap p.login-register-lost-password a {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    text-decoration: none;
    color: var(--wppb-primary-color);
}

#wppb-login-wrap p.login-register-lost-password a:hover {
    text-decoration: underline;
}

#wppb-login-wrap p.login-register-lost-password a:focus {
    background: transparent !important;
}

#wppb-loginform .login-submit input#wppb-submit {
    width: 100%;
}

#wppb-loginform .login-submit {
    overflow: visible;  /* for the button box-shadow effect to be visible on :focus */
}